package com.fh.alipay.service;

import com.fh.alipay.po.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fh.alipay.model.dto.GoodsDTO;
import com.fh.alipay.model.query.GoodsQuery;
import java.util.List;
/**
 * @author fh
 * @date 2022-05-03
 * @description  服务类
 */
public interface IGoodsService extends IService<Goods> {

        IPage<Goods> getWithPage(Page page, GoodsQuery query);

        Goods getOneByQuery(GoodsQuery query);

        List<Goods> getAllByQuery( GoodsQuery query);

}
